package com.example.domain;

/**
 * @author 01
 * @date 2019-10-05
 **/
public abstract class BaseNamedEntity extends BaseEntity {

    protected String name;

    public BaseNamedEntity() {
    }

    public BaseNamedEntity(Long id, String name) {
        super(id);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
